package nl.ypmits.utils.threedee.primitives {	import nl.ypmits.utils.threedee.materials.AMaterial;	import nl.ypmits.utils.threedee.materials.ColorMaterial;		/**	 * @author davelenz	 */	public class Plane extends APrimitive {		private static const SINGLEPLANE : String = "singleplane";						public function Plane( material : AMaterial = null, w : Number = 100, h : Number = 100, interactive : Boolean = false ) {			this.material = material;			this._width = w;			this._height = h;			this.interactive = interactive;			this.type = Plane.SINGLEPLANE;						material ? drawMaterial( ) : drawBaseColor( );		}						public function render() : void {		}				private function drawMaterial() : void {			material.width = _width;			material.height = _height;			addChild( material );				}				private function drawBaseColor() : void {			var b : ColorMaterial = new ColorMaterial( 0xFF5544, .5 );			b.width = _width;			b.height = _height;			addChild( b );		}			}}